import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex)

import home from "./Home"
import search from './Search';
import detail from './Detail';
import shopcart from './Shopcart';
import user from './User';
import trade from './Trade';


export default new Vuex.Store({
    modules: {
        home,
        search,
        detail,
        shopcart,
        user,
        trade
    }
})